/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: 任静
 * @Date: 2020-10-20 19:13:31
 * @LastEditors: 任静
 * @LastEditTime: 2020-10-20 21:27:43
 */
const Mock=require('mockjs');
const fs=require('fs');
let data=Mock.mock({
    "list|12":[
        {
            tel: '13623136856',
            regdate: "@date",
            activedate: '@date',
            name: '@cname',
            address: '@city',
            tag: '@ctitle',
            consume: '@cparagraph(1)' 
        }
    ]
})
// fs.writeFileSync('vip.json',JSON.stringify(data.list))
Mock.mock('/vips',require('./vip.json'))